import System.Reflection
import Rhino.Commons.ForTesting from Rhino.Commons.NHibernate
import Rhino.Commons.ForTesting from Rhino.Commons.ActiveRecord

activeRecordAssemblies = ( Assembly.Load("WineCellar.Model"), )

Component("active_record_repository", IRepository, ARRepository)
Component("active_record_unit_of_work", 
	IUnitOfWorkFactory, 
	ActiveRecordUnitOfWorkFactory,
	assemblies: activeRecordAssemblies )	